package org.jeecg.modules.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: db_payment_plan
 * @Author: jeecg-boot
 * @Date:   2024-08-15
 * @Version: V1.0
 */
@Data
@TableName("db_payment_plan")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="db_payment_plan对象", description="db_payment_plan")
public class DbPaymentPlan implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**合同id*/
	@Excel(name = "合同id", width = 15)
    @ApiModelProperty(value = "合同id")
    private String contractId;
	/**预计回款日期*/
	@Excel(name = "预计回款日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "预计回款日期")
    private Date planDate;
	/**预计回款金额*/
	@Excel(name = "预计回款金额", width = 15)
    @ApiModelProperty(value = "预计回款金额")
    private BigDecimal planMoney;
	/**对应交付节点*/
	@Excel(name = "对应交付节点", width = 15)
    @ApiModelProperty(value = "对应交付节点")
    private String delivery;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String note;
	/**状态（是否完成,0:未完成；1:已完成）*/
	@Excel(name = "状态（是否完成,0:未完成；1:已完成）", width = 15)
    @ApiModelProperty(value = "状态（是否完成,0:未完成；1:已完成）")
    private Integer status;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
	/**删除位*/
	@Excel(name = "删除位", width = 15)
    @ApiModelProperty(value = "删除位")
    private String deleted;
}
